A Study of Test Coverage Adequacy In the Presence of Stubs
نویسندگان
چکیده
The purpose of implementation-based testing is to gain a measure of confidence in the correctness of the software by providing adequate coverage of the code. One unit of testing in object-oriented software is a class. However, classes use other classes and if class interactions form a cycle of dependencies then, to test a client class that uses an untested supplier class, stubs must be constructed to simulate the correct behavior of the untested supplier class. However, an important consideration in using stubs to facilitate testing of a client class is the adequacy of code coverage in the client when the client uses a stub rather than the actual supplier class. In this paper we present a study of test coverage adequacy in the presence of stubs as used to facilitate testing of an object-oriented application. We examine coverage in both cluster and class-based testing of the application and, using the results of our study, we draw some conclusions about the coverage provided when stubs are used in each form of testing. In addition, we study the ability of the tester to meet the specified adequacy criteria for class-based testing in the presence of stubs.
منابع مشابه
Residents’ Satisfaction with Adequacy of Facilities in Metropolitan Ibadan, Nigeria
The study examined the quantity and quality of infrastructure in Ibadan, Nigeria with a view to using information to providing policy guidelines for sustainable infrastructural development. Using stratified sampling technique, a total of fifteen wards from the five local government areas in Ibadan metropolis were selected for study. The selection of all the local government areas is based on th...
متن کاملThe Relationship between Iranian EFL Learners' Reading Comprehension, Vocabulary Size and Lexical Coverage of the Text: The Case of Narrative and Argumentative Genres
This study explored the relationship between EFL learners’ vocabulary size, lexical coverage of the text and reading comprehension texts (narrative & argumentative genres). To this end, 120 male and female out of 180 students studying at Talesh Azad University were selected based on their performance on the Nelson Proficiency Test. A Nelson reading proficiency test was also administered in orde...
متن کاملAssessment of hemodialysis adequacy in patients undergoing maintenance maneuver by laboratory tests
Background and Objectives: Hemodialysis (HD) is one of the therapeutic modalities patients. Since inadequate dialysis increases mortality and morbidity of patients, therefore, assessment of dialysis adequacy is clinically important. For this reason, hemodialysis adequacy was determined in patients underg...
متن کاملINVESTIGATING THE QUALITY AND ADEQUACY OF PRE-PREGNANCY CARE FROM THE POINT OF VIEW OF WOMEN REFERRING TO URMIA CITY HOSPITALS IN 2021
Background & Aim: One of the programs of the health system in Iran is providing services related to pregnancy, which is provided in three areas of pre-pregnancy, pregnancy, and postpartum care. Quality and quantity assessment shows how health care programs are implemented and identifies the inadequacies of the programs to solve the main problems. Therefore, the present study was conducted to in...
متن کاملبررسی مقایسهای کیفیت تهیه پاپ اسمیر با دو روش سایتوبراش – اسپچولا و سرویکس براش
Background: Cervical cancer is the second most common cancer among women worldwide. One of the methods of early diagnosis of this cancer is the screening pap smear test that has decreased both the incidence and mortality of cervical cancer. The aim of this study was comparison of pap smear quality with spatula-cytobrush versus cervix brush methods. Methods: One hundred married women between ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Object Technology
دوره 4 شماره
صفحات -
تاریخ انتشار 2005